// 企业
export default [
    {
        path: '/enterprise',
        component: () => import('@/views/enterprise/index'),
        name: 'Enterprise',
        hidden: true,
        meta: { title: '企业中心' }
    },
    {
        path: '/enterprise/home/:id',
        component: () => import('@/views/enterprise/home'),
        name: 'WorkHome',
        hidden: true,
        meta: { title: '企业主页' }
    },
    {
        path: '/internship',
        component: () => import('@/views/enterprise/internship'),
        name: 'Internship',
        hidden: true,
        meta: { title: '见习实习' }
    },
    {
        path: '/internship-detail/:id',
        component: () => import('@/views/enterprise/internship-detail'),
        name: 'InternshipDetail',
        hidden: true,
        meta: { title: '职位详情', 'fixedNav': false }
    },
    {
        path: '/enterprise-register',
        component: () => import('@/views/enterprise/enterprise-register'),
        name: 'EnterpriseRegister',
        hidden: true,
        meta: { title: '企业注册', 'fixedNav': false }
    },
    {
        path: '/looking-for-talent',
        component: () => import('@/views/enterprise/looking-for-talent'),
        name: 'LookingForTalent',
        hidden: true,
        meta: { title: '找人才' }
    },
    {
        path: '/talent-detail',
        component: () => import('@/views/enterprise/talent-detail'),
        name: 'TalentDetail',
        hidden: true,
        meta: { title: '人才详情' }
    },
    {
        path: '/enterprise/forget-password',
        component: () => import('@/views/enterprise/forget-password'),
        name: 'ForgetPassword',
        hidden: true,
        meta: { title: '忘记密码', 'fixedNav': false }
    },
    {
        path: '/enterprise/change-password',
        component: () => import('@/views/enterprise/change-password'),
        name: 'ChangPassword',
        hidden: true,
        meta: { title: '修改密码' }
    },
    {
        path: '/enterprise/update-email',
        component: () => import('@/views/enterprise/update-email'),
        name: 'ChangPassword',
        hidden: true,
        meta: { title: '修改邮箱' }
    },
    {
        path: '/enterprise/update-phone',
        component: () => import('@/views/enterprise/update-phone'),
        name: 'ChangPassword',
        hidden: true,
        meta: { title: '修改手机' }
    },
    {
        path: '/service-apply',
        component: () => import('@/views/enterprise/service-apply'),
        name: 'ServiceApply',
        hidden: true,
        meta: { title: '企业服务' }
    },
    {
        path: '/service-search',
        component: () => import('@/views/enterprise/service-search'),
        name: 'ServiceSearch',
        hidden: true,
        meta: { title: '企业查询' }
    },
    {
        path: '/enterprise/work',
        component: () => import('@/views/enterprise/work/index'),
        name: 'enterpriseWork',
        hidden: true,
        meta: { title: '企业中心', 'fixedNav': false },
        children: [
            {
                path: '/enterprise/center',
                component: () => import('@/views/enterprise/work/center'),
                name: 'enterpriseWorkCenter',
                meta: { title: '企业中心', 'fixedNav': false }
            },
            {
                path: '/enterprise/job',
                component: () => import('@/views/enterprise/work/job'),
                name: 'enterpriseWorkJob',
                meta: { title: '职位管理', 'fixedNav': false }
            },
            {
                path: '/enterprise/job/publish',
                component: () => import('@/views/enterprise/work/job-publish'),
                name: 'enterpriseWorkJobPublish',
                meta: { title: '发布职位', parent: 'enterpriseWorkJob', 'fixedNav': false }
            },
            {
                path: '/enterprise/resume',
                component: () => import('@/views/enterprise/work/resume'),
                name: 'enterpriseWorkResume',
                meta: { title: '简历管理', 'fixedNav': false }
            },
            {
                path: '/enterprise/account',
                component: () => import('@/views/enterprise/work/account'),
                name: 'enterpriseWorkAccount',
                meta: { title: '账号管理', 'fixedNav': false },
                children: [
                    {
                        path: '/enterprise/account/base',
                        component: () => import('@/views/enterprise/work/account-base'),
                        name: 'enterpriseWorkAccountBase',
                        meta: { title: '企业资料', parent: 'enterpriseWorkAccount', 'fixedNav': false }
                    },
                    {
                        path: '/enterprise/account/approve',
                        component: () => import('@/views/enterprise/work/account-approve'),
                        name: 'enterpriseWorkAccountApprove',
                        meta: { title: '企业认证', parent: 'enterpriseWorkAccount', 'fixedNav': false }
                    },
                    {
                        path: '/enterprise/account/safe',
                        component: () => import('@/views/enterprise/work/account-safe'),
                        name: 'enterpriseWorkAccountSafe',
                        meta: { title: '账号安全', parent: 'enterpriseWorkAccount', 'fixedNav': false }
                    },
                    {
                        path: '/enterprise/account/msg',
                        component: () => import('@/views/enterprise/work/account-msg'),
                        name: 'enterpriseWorkAccountMsg',
                        meta: { title: '我的消息', parent: 'enterpriseWorkAccount', 'fixedNav': false }
                    },
                ]
            },
            {
                path: '/enterprise/chat',
                component: () => import('@/views/enterprise/work/chat'),
                name: 'enterpriseWorkChat',
                meta: { title: '沟通记录', 'fixedNav': false },
                children: [
                    {
                        path: '/enterprise/communicate',
                        component: () => import('@/views/enterprise/work/communicate'),
                        name: 'enterpriseWorkCommunicate',
                        meta: { title: '消息沟通', parent: 'enterpriseWorkChat', 'fixedNav': false }
                    },
                    {
                        path: '/enterprise/work/chat-detail',
                        component: () => import('@/views/enterprise/work/chat-detail'),
                        name: 'enterpriseWorkChatDetail',
                        meta: { title: '沟通详情', parent: 'enterpriseWorkChat', 'fixedNav': false }
                    },
                ]
            }
        ]
    }
]
